Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 3 - Directory Numbers / Directory Number Reference
Constants


Directory Number Types

The dnType parameter of the TELCountDNs function and the dnType parameter of the TELDNLookupByIndex function contain a value that specifies the types of directory numbers to consider. The Telephone Manager defines these constants for directory number types:

enum {
   telAllDNs               = 0,
   telInternalDNs          = 1,
   telInternalDNsOnly      = 2,
   telExternalDNs          = 3,
   telDNTypeUnknown        = 4
};
Constant descriptions

telAllDNs
All directory numbers.
telInternalDNs
Internal directory numbers (that is, directory numbers that are connected to a PBX or other non-public switch).
telInternalDNsOnly
Internal directory numbers that can place calls to other internal numbers only.
telExternalDNs
External directory numbers (that is, directory numbers that are connected to a public network).
telDNTypeUnknown
Unknown type of directory number.

IMPORTANT
Directory number type values 5 through 255 are reserved for use by the Telephone Manager. Values 256 through 32768 are reserved for use by telephone tools.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help